package com.group.commons.entity.patient;

import java.io.Serializable;
import java.util.Date;

/**
 * (Family)实体类
 *
 * @author makejava
 * @since 2022-06-07 11:10:26
 */
public class Family implements Serializable {
    private static final long serialVersionUID = 483968503043522211L;
    /**
     * 家庭成员Id
     */
    private Integer familyid;
    /**
     * 成员Id
     */
    private String name;
    /**
     * 身份证号
     */
    private Integer idCard;
    /**
     * 社保卡Id
     */
    private Integer socialsecuritycard;
    /**
     * 0男性1女性
     */
    private Integer gender;
    /**
     * 生日
     */
    private Date birthday;
    /**
     * 电话
     */
    private Integer tel;
    /**
     * 地址
     */
    private String addr;
    /**
     * 与就诊人的关系
     */
    private String relation;

    public String getRelation() {
        return relation;
    }

    public void setRelation(String relation) {
        this.relation = relation;
    }

    public Integer getFamilyid() {
        return familyid;
    }

    public void setFamilyid(Integer familyid) {
        this.familyid = familyid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getidCard() {
        return idCard;
    }

    public void setidCard(Integer idCard) {
        this.idCard = idCard;
    }

    public Integer getsocialsecuritycard() {
        return socialsecuritycard;
    }

    public void setsocialsecuritycard(Integer socialsecuritycard) {
        this.socialsecuritycard = socialsecuritycard;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public Integer getTel() {
        return tel;
    }

    public void setTel(Integer tel) {
        this.tel = tel;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    @Override
    public String toString() {
        return "Family{" +
                "familyid=" + familyid +
                ", name='" + name + '\'' +
                ", idCard=" + idCard +
                ", socialsecuritycard=" + socialsecuritycard +
                ", gender=" + gender +
                ", birthday=" + birthday +
                ", tel=" + tel +
                ", addr='" + addr + '\'' +
                ", relation='" + relation + '\'' +
                '}';
    }
}

